package com.zhw.goshopping.sso.service;

import com.zhw.goshopping.common.pojo.GoShoppingResult;
import com.zhw.goshopping.pojo.TbUser;

/**
 * Create by zhaihongwei on 2018/5/2
 */
public interface UserService {
    GoShoppingResult checkData(String data, int type);
    GoShoppingResult register(TbUser user);
    GoShoppingResult login(String username, String password);
    GoShoppingResult getUserByToken(String token);
    GoShoppingResult logout(String token);
}
